<template>
  <div class="comments">
    <div class="Father">
      <span>评论（5）</span>
      <div class="user">
        <van-image
          round
          width="3em"
          height="3em"
          src="https://unpkg.com/@vant/assets/cat.jpeg"
        />
        <ul>
          <li><span>Jassie</span></li>
          <li><span>学到了！多分享！</span></li>
          <li><span class="c">11：48</span></li>
        </ul>
      </div>
      <div class="icon">
        <van-icon name="good-job-o" />&nbsp;&nbsp;<span>20</span>
        &nbsp;
        <van-icon name="chat-o" />&nbsp;&nbsp;<span>20</span>
      </div>
    </div>
    <div class="Son">
      <div class="user">
        <van-image
          round
          width="3em"
          height="3em"
          src="https://unpkg.com/@vant/assets/cat.jpeg"
        />
        <ul>
          <li>
            <span>小米<span class="c">回复</span>苹果</span>
          </li>
          <li><span>相信自己你行地！</span></li>
          <li><span class="c">11：48</span></li>
        </ul>
      </div>
      <div class="icon">
        <van-icon name="good-job-o" />&nbsp;&nbsp;<span>14</span>
        &nbsp;
        <van-icon name="chat-o" />&nbsp;&nbsp;<span>17</span>
      </div>
    </div>
  </div>

  <div class="comments">
    <div class="Father">
      <span>评论（5）</span>
      <div class="user">
        <van-image
          round
          width="3em"
          height="3em"
          src="https://unpkg.com/@vant/assets/cat.jpeg"
        />
        <ul>
          <li><span>钢铁侠</span></li>
          <li><span>绿巨人越狱了完犊子了</span></li>
          <li><span class="c">11：48</span></li>
        </ul>
      </div>
      <div class="icon">
        <van-icon name="good-job-o" />&nbsp;&nbsp;<span>20</span>
        &nbsp;
        <van-icon name="chat-o" />&nbsp;&nbsp;<span>20</span>
      </div>
    </div>
    <div class="Son">
      <div class="user">
        <van-image
          round
          width="3em"
          height="3em"
          src="https://unpkg.com/@vant/assets/cat.jpeg"
        />
        <ul>
          <li>
            <span>钢铁侠<span class="c">回复</span>美队</span>
          </li>
          <li><span>我只想留下来陪小辣椒</span></li>
          <li><span class="c">11：48</span></li>
        </ul>
      </div>
      <div class="icon">
        <van-icon name="good-job-o" />&nbsp;&nbsp;<span>1123</span>
        &nbsp;
        <van-icon name="chat-o" />&nbsp;&nbsp;<span>9912</span>
      </div>
    </div>
  </div>
  <div class="comments">
    <div class="Father">
      <span>评论（5）</span>
      <div class="user">
        <van-image
          round
          width="3em"
          height="3em"
          src="https://unpkg.com/@vant/assets/cat.jpeg"
        />
        <ul>
          <li><span>郭靖</span></li>
          <li><span>蓉儿我学会了降龙十八掌</span></li>
          <li><span class="c">11：48</span></li>
        </ul>
      </div>
      <div class="icon">
        <van-icon name="good-job-o" />&nbsp;&nbsp;<span>113</span>
        &nbsp;
        <van-icon name="chat-o" />&nbsp;&nbsp;<span>2534</span>
      </div>
    </div>
    <div class="Son">
      <div class="user">
        <van-image
          round
          width="3em"
          height="3em"
          src="https://unpkg.com/@vant/assets/cat.jpeg"
        />
        <ul>
          <li>
            <span>黄蓉<span class="c">回复</span>郭靖</span>
          </li>
          <li><span>靖哥哥你快拜洪前辈</span></li>
          <li><span class="c">11：48</span></li>
        </ul>
      </div>
      <div class="icon">
        <van-icon name="good-job-o" />&nbsp;&nbsp;<span>245</span>
        &nbsp;
        <van-icon name="chat-o" />&nbsp;&nbsp;<span>220</span>
      </div>
    </div>
  </div>
  <div class="comments">
    <div class="Father">
      <span>评论（5）</span>
      <div class="user">
        <van-image
          round
          width="3em"
          height="3em"
          src="https://unpkg.com/@vant/assets/cat.jpeg"
        />
        <ul>
          <li><span>夫子</span></li>
          <li><span>朝廷琐事乃微不足道也！</span></li>
          <li><span class="c">11：48</span></li>
        </ul>
      </div>
      <div class="icon">
        <van-icon name="good-job-o" />&nbsp;&nbsp;<span>1234</span>
        &nbsp;
        <van-icon name="chat-o" />&nbsp;&nbsp;<span>3213</span>
      </div>
    </div>
    <div class="Son">
      <div class="user">
        <van-image
          round
          width="3em"
          height="3em"
          src="https://unpkg.com/@vant/assets/cat.jpeg"
        />
        <ul>
          <li>
            <span>君莫<span class="c">回复</span>大师兄</span>
          </li>
          <li><span>这些人我的境界颇有</span></li>
          <li><span class="c">11：48</span></li>
        </ul>
      </div>
      <div class="icon">
        <van-icon name="good-job-o" />&nbsp;&nbsp;<span>1214</span>
        &nbsp;
        <van-icon name="chat-o" />&nbsp;&nbsp;<span>21240</span>
      </div>
    </div>
  </div>
</template>

<script>
import { Image as VanImage } from 'vant'
import { Icon } from 'vant'
export default {}
</script>

<style lang="less" scoped>
// 评论样式

.Father {
  margin-top: 1em;
  min-height: 10em;
  color: #aaa;
  padding-left: 0.9em;
  padding-right: 0.3em;
  position: relative;
  border-bottom: 0.1em solid #ccc;

  .user {
    margin-top: 1em;
    display: flex;
    justify-content: space-between;
  }
  ul {
    width: 10em;
    position: absolute;
    left: 5em;
    top: 2.2em;
    li {
      line-height: 2em;
      color: black;
      .c {
        color: #aaa;
        font-size: 0.8em;
      }
    }
  }
  .icon {
    position: absolute;
    right: 0.2em;
    top: 7em;
  }
}

.Son {
  margin-top: 1em;
  min-height: 8em;
  color: #aaa;
  padding-left: 2em;
  padding-right: 0.3em;
  position: relative;
  border-bottom: 0.1em solid #ccc;

  .user {
    margin-top: 1em;
    display: flex;
    justify-content: space-between;
  }
  ul {
    width: 10em;
    position: absolute;
    left: 6em;
    top: 0.2em;
    li {
      line-height: 2em;
      color: black;
      .c {
        color: #aaa;
        font-size: 0.8em;
      }
    }
  }
  .icon {
    position: absolute;
    right: 0.2em;
    top: 5em;
  }
}
</style>
>
